<?php


/**
* 
*/
class dianzanView extends GetLoad
{
	
	public function jianliView($data){
		$this->load("Controller/user");
		$daohang =new ControllerName();
		$daohang->Getname(0);

?>

    	<div style="margin-left:auto; margin-right:auto;height:1000px;margin-top:100px;" class="container" >    
        
        	<div class="container col-sm-8"  >

               <table class="table">
                    <caption>被点赞的文章</caption>
                   <thead>
                      <tr>
                         <th>文章名称</th>
                         <th>点赞人</th>
                      </tr>
                   </thead>


                   <?php 

                   		foreach ($data as $lajixiang) {
			
									

                   ?>
                   <tbody>
                      <tr>
                         <td> <?php echo $lajixiang['title']; ?> </td>
                         <td> <?php echo $lajixiang['name'];  ?> 

	                         </td>
                      </tr>
                      <?php } ?>
                      
                   </tbody>
                </table>


				

 	
         </div>
           
         <div class="col-sm-4" style="margin-top:300px;">
         	
            	
            
         </div>
            
       </div>
    </div>

    
</body>
</html>
<?php

						
	}
}


?>